package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.Gift;
import com.jbp.model.SendGiftRecord;
import com.jbp.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 送礼记录(SendGiftRecord)表服务接口
 * @author cc
 * @since 2020-06-26 16:23:34
 */
public interface SendGiftRecordService extends IService<SendGiftRecord> {
    PageUtils queryPage(Map<String, Object> params);

    List<Gift> getGiftWall(Integer otherId);

    List<SendGiftRecord> sendList(Map<String,Object> params);

    List<SendGiftRecord> senderListFromCache(Map<String, Object> params);

    void cacheSenderList();

    List<SendGiftRecord> heartList(Map<String,Object> params);

    List<SendGiftRecord> heartListFromCache(Map<String, Object> params);

    void cacheHeartList();
}